package com.shenmazong.serveredustudent.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 班级-教师——suliven
 * @TableName tb_clazz_teacher
 */
@TableName(value ="tb_clazz_teacher")
@Data
public class TbClazzTeacher implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 教师Id
     */
    private Long teacherId;

    /**
     * 班级Id
     */
    private Long clazzId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 软删除
     */
    @TableLogic
    private Byte deleteFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}